package com.wskj.workbench.bo.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("APP用户注册对象")
public class AppUserRegisterBo {

    @ApiModelProperty("身份")
    @NotNull(message = "身份不能为空")
    private String userType;

    @ApiModelProperty("姓名")
    @NotNull(message = "姓名不能为空")
    private String realName;

    @ApiModelProperty("用户性别（0男 1女 2未知）")
    @NotNull(message = "用户性别不能为空")
    private String sex;

    @ApiModelProperty("身份证号")
    @NotNull(message = "身份证号不能为空")
    private String cardNo;


    @ApiModelProperty("手机号码")
    @NotNull(message = "手机号码不能为空")
    private String phoneNumber;


    @ApiModelProperty("登录密码")
    @NotNull(message = "登录密码不能为空")
    private String password;

    @ApiModelProperty("再次登录密码")
    @NotNull(message = "再次登录密码不能为空")
    private String againPassword;


    @ApiModelProperty("邀请码")
    @NotNull(message = "邀请码不能为空")
    private String inviteCode;


    @ApiModelProperty("抖音号列表不能为空")
    @NotNull(message = "抖音号列表不能为空")
    private List<AppTbUserTiktokAddBo> tiktokList;


}